<?php 


/** 
***************************************************
*欢迎使用免费版xSite企业自助建站软件！
*这是一个专业为搜索引擎营销而设计的，极稳定、极易维护的建站软件！
*官方客服：help@php.net.cn
*官方下载网址：http://www.php.net.cn/xsite/ 
***************************************************
**/



 if(!defined('IN_SITETEAM')) {exit('Access Denied');}?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xSite Administrator's Control Panel</title>
<link rel="stylesheet" href="./php.net.cn/xsite/admin/images/admincp.css" type="text/css" media="all" />
<script type="text/javascript" src="http://cbjs.baidu.com/js/m.js"></script>
<meta content="xSite Inc." name="Copyright" />
</head>
<body>
<div id="append"></div>
<script type="text/javascript">
	function headermenu(ctrl) {
		ctrl.className = ctrl.className == 'otherson' ? 'othersoff' : 'otherson';
		var menu = document.getElementById('header_menu_body');
		if(!menu) {
			menu = document.createElement('div');
			menu.id = 'header_menu_body';
			menu.innerHTML = '<ul>' + document.getElementById('header_menu_menu').innerHTML + '</ul>';
			var obj = ctrl;
			var x = ctrl.offsetLeft;
			var y = ctrl.offsetTop;
			while((obj = obj.offsetParent) != null) {
				x += obj.offsetLeft;
				y += obj.offsetTop;
			}
			menu.style.left = x + 'px';
			menu.style.top = y + ctrl.offsetHeight + 'px';
			menu.className = 'togglemenu';
			menu.style.display = '';
			document.body.appendChild(menu);
		} else {
			menu.style.display = menu.style.display == 'none' ? '' : 'none';
		}
	}
</script>
<script type="text/javascript">
function $(id) {
	return document.getElementById(id);
}
</script>
<div class="container">
  <form action="xsite.php?action=login" method="post" id="loginform" target="_top">
    <table class="mainbox">
      <tr>
        <td class="loginbox"><h1>xSite</h1>
           <p align="center">xSite 高效的专为搜索引擎排名而设计的建站系统。<br/><a href="http://www.php.net.cn/xsite" target="_blank">查看xSite建站软件官方技术文档>></a></p></td>
        <td class="login"><p>
            <label for="admin">xSite网站管理员登录入口</label>
          </p>
          <p id="usernamediv">用户名:
            <input type="text" name="username" class="txt" tabindex="1" id="username" value="<?=$admin?>" />
          </p>
          <p>密　码:
            <input type="password" name="password" class="txt" tabindex="2" id="password" value="" />
          </p>
          <?php if (defined('SITE_CAPTCHA') && SITE_CAPTCHA) {?>
          <p>验证码:
            <input type="text" name="captcha_code" class="txt" tabindex="3" id="captcha_code" value="" />
          </p>
          <p style="width:100px; height:40px; margin-left:66px; margin-top:0px; margin-bottom:0px">
          	<img src="./tool.php?action=captcha" border="0">
          </p>
          <?php	} ?>

          
          <p class="loginbtn">
            <input type="submit" name="submit" value=" 登 录 " class="btn" tabindex="3" />
			<input name="dosubmit" type="hidden" value="1" />
          </p></td>
      </tr>
    </table>
  </form>
</div>
<script type="text/javascript">
	$('username').disabled = true;
	$('username').readOnly = true;
	$('password').focus();
</script>
<script type="text/javascript">BAIDU_CLB_fillSlot("665944");</script>
<div class="footer">Powered by xSite 1.x &copy; 2008 - 2014 <a href="http://www.php.net.cn/" target="_blank">PHP</a>.net.cn</div>
</body>
</html>
